package com.spring.controller.work.order;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.spring.controller.ApiModel;
import com.spring.controller.BaseController;

/**
 * private function & public function
 * @author:chenhs E-mail:hson08_chen@163.com
 * Created on 2016年8月15日 下午4:12:44
 * 
 * 访问结果正常，好像没感觉到有什么不一样？
 */
@SuppressWarnings("rawtypes")
@Controller
public class UpLoadController extends BaseController{

	@RequestMapping
    @ResponseBody  
    private ApiModel downPic(){
		return buildSuccMsg("private func access");
	}
	
	@RequestMapping
    @ResponseBody  
    public ApiModel doDownPic(){
		return buildSuccMsg("public func access");
	}
}
